#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QGraphicsScene>
#include <QResizeEvent>

#include "Engine.h"
#include "Wave.h"

// input widget size.
#define input_w 156
#define input_h 212

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    bool runGraphics();
    struct Wave * wave;

public slots:
    bool runPlot();

protected slots:
    void resizeEvent(QResizeEvent * resize);

private:
    QGraphicsScene * scene;
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
